package com.xinbochuang.machine.admin.domain.macRoom;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xinbochuang.machine.common.domain.BaseEntity;

/**
 *
 * @author 杜文博
 * @date 2020-09-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("CONTRAST_EQU_CABINET")
public class ContrastEquCabinet extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId("UUID")
    private String uuid;

    /**
     * 机柜名称
     */
    @TableField("CABINET_NAME")
    private String cabinetName;

    /**
     * 机柜Id
     */
    @TableField("CABINET_ID")
    private String cabinetId;
    /**
     * u位数量
     */
    @TableField("ULOCATION_QUANTITY")
    private String ulocationQuantity;

    @TableField("USER_ID")
    private String userId;

    @TableField("USER_NAME")
    private String userName;

    /**
     * 机房关联Id
     */
    @TableField("MAC_ID")
    private String macId;

    /**
     * 删除标志
     */
    @TableField("DELETE_FLAG")
    private Integer deleteFlag;

    /**
     * 电源名称
     */
    @TableField("ENERGY_NAME")
    private String energyName;

    /**
     * 机柜属性变更状态（涵盖机柜名称，U位数量0为未变更，1为机柜名称变更，2为机柜U位变更）
     */
    @TableField("OWN_STATE")
    private Integer ownState;

    /**
     * 机柜设备变更 0 为已变更，1为未变更
     */
    @TableField("EQU_STATE")
    private Integer equState;

    /**
     * 计划Id
     */
    @TableField("PLAN_ID")
    private String planId;

    /**
     * 审核状态
     */
    @TableField("CHECK_STATE")
    private Integer checkState;


    /**
     * 操作类型 0编辑 1新增 2删除
     */
    @TableField("OPT_TYPE")
    private String optType;

}
